|
8 | 8 | * be compiled and added to the classpath. You will need to refresh the release
|
9 | 9 | * directory so that eclipse knows about jacob.jar. Otherwise you will get a
|
10 | 10 | * "jar not found" dialog.
|
11 |
| - * |
| 11 | + * |
12 | 12 | * <p>
|
13 | 13 | * May need to run with some command line options (including from inside
|
14 | 14 | * Eclipse). Look in the docs area at the Jacob usage document for command line
|
15 | 15 | * options.
|
16 |
| - * |
| 16 | + * |
17 | 17 | * @author clay_shooter
|
18 |
| - * |
| 18 | + * |
19 | 19 | */
|
20 | 20 | public class LibraryLoaderTest {
|
21 | 21 |
|
22 | 22 | /**
|
23 | 23 | * verify the architecture switches work
|
24 | 24 | */
|
| 25 | + @Test |
25 | 26 | public void testArchitectureVersions() {
|
26 | 27 | System.out.println("running on 32Bit? VM"
|
27 | 28 | + LibraryLoader.shouldLoad32Bit());
|
@@ -72,16 +73,18 @@ public void testDLLNameContainsProcessorAndVersion() {
|
72 | 73 | // we build the package and run the unit tests on X86
|
73 | 74 | Assert.assertTrue(LibraryLoader.getPreferredDLLName()
|
74 | 75 | + "should have contained "
|
75 |
| - + LibraryLoader.DLL_NAME_MODIFIER_32_BIT, LibraryLoader |
76 |
| - .getPreferredDLLName().contains( |
77 |
| - LibraryLoader.DLL_NAME_MODIFIER_32_BIT)); |
| 76 | + + LibraryLoader.DLL_NAME_MODIFIER_32_BIT, |
| 77 | + LibraryLoader |
| 78 | + .getPreferredDLLName().contains( |
| 79 | + LibraryLoader.DLL_NAME_MODIFIER_32_BIT)); |
78 | 80 | } else {
|
79 | 81 | // we build the package and run the unit tests on X86
|
80 | 82 | Assert.assertTrue(LibraryLoader.getPreferredDLLName()
|
81 | 83 | + "should have contained "
|
82 |
| - + LibraryLoader.DLL_NAME_MODIFIER_64_BIT, LibraryLoader |
83 |
| - .getPreferredDLLName().contains( |
84 |
| - LibraryLoader.DLL_NAME_MODIFIER_64_BIT)); |
| 84 | + + LibraryLoader.DLL_NAME_MODIFIER_64_BIT, |
| 85 | + LibraryLoader |
| 86 | + .getPreferredDLLName().contains( |
| 87 | + LibraryLoader.DLL_NAME_MODIFIER_64_BIT)); |
85 | 88 | }
|
86 | 89 | }
|
87 | 90 | }
|
0 commit comments