blob: 3364e02c969c568e5a3ed133479ad72f684411c0 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.servicecomb.core;
public class TestDefinition {
// @Test
// public void testMicroServiceMeta() {
// MicroserviceMeta oMicroMeta = new MicroserviceMeta("app:micro1");
// Assert.assertEquals(0, oMicroMeta.getSchemaMetas().size());
// Assert.assertEquals(0, oMicroMeta.getOperations().size());
// Assert.assertEquals("micro1", oMicroMeta.getShortName());
// Assert.assertEquals("app:micro1", oMicroMeta.getName());
// try {
// oMicroMeta.putExtData("key1", new String("value1"));
// Assert.assertNotEquals(null, oMicroMeta.getExtData("key1"));
// } catch (Exception e) {
// Assert.assertNotNull(e);
// }
// }
}