Skip to content

Commit

Permalink
[jdwp] add tests importing components of the runtime library
Browse files Browse the repository at this point in the history
  • Loading branch information
michalgr committed Dec 6, 2023
1 parent e63a28e commit ad008aa
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
17 changes: 17 additions & 0 deletions projects/jdwp/tests/runtime/import.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.

import unittest


class ImportTest(unittest.TestCase):
def test_structs_can_be_imported(self):
from projects.jdwp.runtime.structs import IDSizesReply

def test_type_aliases_can_be_imported(self):
from projects.jdwp.runtime.type_aliases import ReferenceTypeIDType

def test_jdwpstruct_can_be_imported(self):
from projects.jdwp.runtime.jdwpstruct import JDWPStruct

def test_streams_can_be_imported(self):
from projects.jdwp.runtime.async_streams import JDWPInputStreamBase
8 changes: 0 additions & 8 deletions projects/jdwp/tests/runtime/jdwpstruct.py

This file was deleted.

8 changes: 0 additions & 8 deletions projects/jdwp/tests/runtime/structs.py

This file was deleted.

0 comments on commit ad008aa

Please sign in to comment.