81 ls.add(cn); 82 return this; 83 } 84 85 MockLibrary addPublic(String mids, String cn) { 86 return add(jms.parseModuleId(mids), cn, publicClassesForId); 87 } 88 89 MockLibrary addOther(String mids, String cn) { 90 return add(jms.parseModuleId(mids), cn, otherClassesForId); 91 } 92 93 public String name() { return "mock-library"; } 94 public int majorVersion() { return 0; } 95 public int minorVersion() { return 1; } 96 97 public URI location() { 98 throw new UnsupportedOperationException(); 99 } 100 101 public void installFromManifests(Collection<Manifest> mf) { 102 throw new UnsupportedOperationException(); 103 } 104 105 public void install(Collection<File> mf, boolean verifySignature) { 106 throw new UnsupportedOperationException(); 107 } 108 109 public Resolution resolve(Collection<ModuleIdQuery> midqs) { 110 throw new UnsupportedOperationException(); 111 } 112 113 public void install(Resolution res, boolean verifySignature) { 114 throw new UnsupportedOperationException(); 115 } 116 117 public Library parent() { 118 return null; 119 } 120 | 81 ls.add(cn); 82 return this; 83 } 84 85 MockLibrary addPublic(String mids, String cn) { 86 return add(jms.parseModuleId(mids), cn, publicClassesForId); 87 } 88 89 MockLibrary addOther(String mids, String cn) { 90 return add(jms.parseModuleId(mids), cn, otherClassesForId); 91 } 92 93 public String name() { return "mock-library"; } 94 public int majorVersion() { return 0; } 95 public int minorVersion() { return 1; } 96 97 public URI location() { 98 throw new UnsupportedOperationException(); 99 } 100 101 public ModuleArchitecture architecture() { 102 return ModuleArchitecture.ANY; 103 } 104 105 public void installFromManifests(Collection<Manifest> mf) { 106 throw new UnsupportedOperationException(); 107 } 108 109 public void install(Collection<File> mf, boolean verifySignature) { 110 throw new UnsupportedOperationException(); 111 } 112 113 public Resolution resolve(Collection<ModuleIdQuery> midqs) { 114 throw new UnsupportedOperationException(); 115 } 116 117 public void install(Resolution res, boolean verifySignature) { 118 throw new UnsupportedOperationException(); 119 } 120 121 public Library parent() { 122 return null; 123 } 124 |