initialize

This commit is contained in:
Pruefer
2025-06-06 09:15:13 +02:00
commit fa7c2730f1
5817 changed files with 1339670 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>data-interface-mesutil</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8

View File

@@ -0,0 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8

View File

@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="data-interface-mesutil">
<wb-resource deploy-path="/" source-path="/src/main/java"/>
</wb-module>
</project-modules>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<installed facet="java" version="1.8"/>
<installed facet="jst.utility" version="1.0"/>
</faceted-project>

View File

@@ -0,0 +1,2 @@
disabled=06target
eclipse.preferences.version=1

45
interface/mesutil/pom.xml Normal file
View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.itac.interface.interfaces</groupId>
<artifactId>data-interface-mesutil</artifactId>
<packaging>jar</packaging>
<name>data-interface-mesutil</name>
<version>${mes.interface.version}</version>
<parent>
<groupId>com.itac.interface</groupId>
<artifactId>data-interface</artifactId>
<version>${mes.interface.version}</version>
</parent>
<dependencies>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>artes-client</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>artes-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>api-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>imsapi-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>util-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>resource-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.interface</groupId>
<artifactId>imsinterfaces-resources-export</artifactId>
</dependency>
</dependencies>
</project>

Binary file not shown.

View File

@@ -0,0 +1,152 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.Hashtable;
import com.itac.artes.ihas.LookupException;
import com.itac.artes.ihas.ServiceLocator;
import com.itac.mes.api.domain.EWApiServices;
import com.itac.mes.imsapi.domain.IMSApiService;
import com.itac.util.annotation.ItacMethodDescriptor;
import com.itac.util.logging.LogHandler;
import com.itac.util.logging.LogLevel;
import com.itac.util.logging.evaluation.ObjectEvaluator;
public class EwApiServiceProxy extends Protocol implements InvocationHandler {
// der Proxy delegiert alle Calls direkt an eine Klasse die das Interface wirklich implementiert (resp. wiederum einen
// Proxy davon)
public static Protocol protocol;
public MethodCallObserver methodCallObserver;
/** maximale Groesse des Protocols, falls jemand ein fortlaufendes Protocol wuenscht */
public static int MAX_PROTOCOL_SIZE = 2500000;
// eine Tabelle mit allen in der Api verfuegbaren Methoden
// eine Tabelle mit allen Namen der Parameter der in der Api verfuegbaren Methoden
private static Hashtable<String, String[]> methodParameter = new Hashtable<String, String[]>(200);
// der fieldEvaluator gibt eine beliebige Datenstruktur formatiert aus
private ObjectEvaluator fieldEvaluator = new ObjectEvaluator();
private static Hashtable<String, Method> methods = new Hashtable<String, Method>();
public EwApiServiceProxy() {
super();
}
/**
* @return
*/
public static EWApiServices createInstance() {
try {
EWApiServices result = null;
Class<?>[] interfaces = new Class[] { EWApiServices.class };
result = (EWApiServices) Proxy.newProxyInstance(EwApiServiceProxy.class.getClassLoader(), interfaces,
new EwApiServiceProxy());
EWApiServices delegate = ServiceLocator.getService(EWApiServices.class);
if (delegate != null) {
Method[] apiMethodArray = EWApiServices.class.getMethods();
for (Method method : apiMethodArray) {
if (methods.containsKey(method.getName())) {
continue;
}
methods.put(method.getName(), method);
LogHandler.trace("EwApiService: method " + method.getName());
// Die Parameternamen werden jetzt ueber Annotations ausgelesen
// @ItacMethodDescriptor(argNames={"sessValData"})
ItacMethodDescriptor methodDescriptor = method.getAnnotation(ItacMethodDescriptor.class);
if (methodDescriptor == null) {
LogHandler.warn(
"method " + method.getName() + " is not annotated with \"@ItacMethodDescriptor\", method has no parameters ...\n");
continue;
}
methodParameter.put(method.getName(), methodDescriptor.argNames());
}
}
// finden, auflisten und registrieren aller Methoden mit Parameternamen
return result;
} catch (LookupException ex) {
LogHandler.log(EwApiServiceProxy.class.getSimpleName(), LogLevel.ERROR, "creating proxy instance failed", ex);
}
return null;
}
/*
* (non-Javadoc)
* @see java.lang.reflect.InvocationHandler#invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
*/
@Override
public java.lang.Object invoke(java.lang.Object proxy, Method method, java.lang.Object[] args) throws Throwable {
long startCall = System.currentTimeMillis();
String[] methodParam = methodParameter.get(method.getName());
StringBuffer paramStr = new StringBuffer();
Object result = method.invoke(ServiceLocator.getService(EWApiServices.class), args);
if (methodParam != null) {
for (int i = 0; i < methodParam.length; i++) {
if (!ObjectEvaluator.CLASSES_IN_ONE_LINE) {
paramStr.append(" ");
}
fieldEvaluator.evaluateObject(methodParam[i], args[i], paramStr);
if (i < (methodParam.length - 1)) {
if (ObjectEvaluator.CLASSES_IN_ONE_LINE) {
paramStr.append(", ");
} else {
paramStr.append("\n");
}
}
}
}
StringBuffer returnValues = new StringBuffer();
long end = System.currentTimeMillis() - startCall;
returnValues.append(method.getName()).append("() completed in ").append(end).append(" millies\n").append(paramStr);
if (result != null) {
returnValues.append("\nreturn: ").append(result.toString());
}
LogHandler.log(EwApiServiceProxy.class.getSimpleName(), LogLevel.INFO, returnValues.toString());
if (protocol != null) {
if (protocol.getText().length() > MAX_PROTOCOL_SIZE) {
// nur zur Sicherheit, falls jemand das protocoll nicht loescht wird eine maximale Groesse
protocol.clear();
}
protocol.appendMessage(returnValues);
}
if (methodCallObserver != null) {
methodCallObserver.called(method.getName(), result);
}
return result;
}
public static void setMethodCallObserver(IMSApiService imsApiServiceProxy, MethodCallObserver methodCallObserver) {
// dieses Feld per reflection setzen !!!
if (imsApiServiceProxy != null && imsApiServiceProxy instanceof Proxy) {
try {
InvocationHandler handler = Proxy.getInvocationHandler(imsApiServiceProxy);
Field[] fields = ImsApiServiceProxy.class.getDeclaredFields();
for (Field f : fields) {
if (f.getName().equals("methodCallObserver")) {
f.setAccessible(true);
f.set(handler, methodCallObserver);
}
}
} catch (IllegalArgumentException e) {
LogHandler.log(EwApiServiceProxy.class.getSimpleName(), LogLevel.ERROR, "setting MethodCallObserver failed", e);
} catch (IllegalAccessException e) {
LogHandler.log(EwApiServiceProxy.class.getSimpleName(), LogLevel.ERROR, "setting MethodCallObserver failed", e);
}
}
}
}

View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied, printed, edited
* or otherwise distributed, be stored in a retrieval system, or be translated into another language without the written permission
* of iTAC Software AG.
*/
package com.itac.mes.client;
import java.lang.reflect.Field;
import java.util.Map;
import com.itac.util.logging.evaluation.ObjectEvaluator;
/**
* Formatted printing of IMS-API result values.
* <p>
*
* @author frankp
* @since 9.00.00
*/
public class ImsApiResultEvaluator {
public StringBuilder evaluate(Object result, Map<String, String[]> uploadValues) {
// check preconditions
StringBuilder stb = new StringBuilder();
if (result == null) {
stb.append("(null");
return stb;
}
// print type info
ObjectEvaluator oe = new ObjectEvaluator();
stb.append('(').append(result.getClass().getSimpleName()).append(")\n");
for (Field field : result.getClass().getFields()) {
// key-information available for this parameter?
if (field.getName().endsWith("Values") && uploadValues != null) {
String baseName = field.getName().substring(0, field.getName().length() - "Values".length());
String[] keys = getKeysForBaseName(baseName, uploadValues);
if (keys != null) {
try {
ImsApiTools.printKeyValues(stb, baseName, keys, (String[]) field.get(result));
} catch (IllegalArgumentException | IllegalAccessException e) {
// explicitly no error handling
}
// print formatted imsapi-key-Value
stb.append('\n');
}
continue;
}
// print ordinary values
try {
Object v = field.get(result);
StringBuffer pstb = new StringBuffer();
oe.evaluateObject(field.getName(), v, pstb);
stb.append(pstb.toString()).append('\n');
} catch (Throwable e) {
// explicitly no error handling
}
}
return stb;
}
private String[] getKeysForBaseName(String baseName, Map<String, String[]> uploadValues) {
String[] keys = uploadValues.get(baseName);
if ((keys == null)
&& (baseName.endsWith("Result"))) {
// alternatively get the keys xxxUploadKeys for xxxResultValues
String alternativeBaseName = baseName.substring(0, baseName.length() - 6) + "Upload";
keys = uploadValues.get(alternativeBaseName);
}
return keys;
}
}

View File

@@ -0,0 +1,218 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
import static com.itac.util.logging.LogLevel.ERROR;
import static com.itac.util.logging.LogLevel.TRACE;
import static com.itac.util.logging.LogLevel.WARN;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
import com.itac.artes.ihas.LookupException;
import com.itac.artes.ihas.ServiceLocator;
import com.itac.mes.imsapi.domain.IMSApiService;
import com.itac.util.annotation.ItacMethodDescriptor;
import com.itac.util.logging.LogHandler;
import com.itac.util.logging.evaluation.ObjectEvaluator;
public class ImsApiServiceProxy extends Protocol implements InvocationHandler {
// der Proxy delegiert alle Calls direkt an eine Klasse die das Interface wirklich implementiert (resp. wiederum einen
// Proxy davon)
public static Protocol protocol;
public MethodCallObserver methodCallObserver;
/** maximale Groesse des Protocols, falls jemand ein fortlaufendes Protocol wuenscht */
public static int MAX_PROTOCOL_SIZE = 2500000;
// eine Tabelle mit allen in der Api verfuegbaren Methoden
// eine Tabelle mit allen Namen der Parameter der in der Api verfuegbaren Methoden
private static Hashtable<String, String[]> methodParameter = new Hashtable<>(200);
// der fieldEvaluator gibt eine beliebige Datenstruktur formatiert aus
private ObjectEvaluator fieldEvaluator = new ObjectEvaluator();
private static Hashtable<String, Method> methods = new Hashtable<>();
protected boolean parameterLogging = true;
public ImsApiServiceProxy() {
super();
}
/**
* mit dem parameterLogging = false wird das loggin auf Methodenaufruf mit Statistik der call-Zeit reduziert <br>
* <code>trGetStationSetting() completed in 1017 millies</code> <br>
* ansonst <br>
* <code>
* trGetStationSetting() completed in 1017 millies<br>
* sessionContext:<br>
* sessionId:0<br>
* persId:0<br>
* locale:<br>
* stationNumber:01010010<br>
* [1]{"STATION_NUMBER"}<br>
* return: return: :<br>
* return_value:-3<br>
* stationSettingResultValues:[0]<br>
* </code>
*
* @return
*/
public static IMSApiService createInstance(boolean parameterLogging) {
IMSApiService result = createInstance();
// dieses Feld per reflection setzen !!!
if (result instanceof Proxy) {
try {
InvocationHandler handler = Proxy.getInvocationHandler(result);
Field[] fields = ImsApiServiceProxy.class.getDeclaredFields();
for (Field f : fields) {
if (f.getName().equals("parameterLogging")) {
f.setAccessible(true);
f.setBoolean(handler, parameterLogging);
}
}
} catch (Exception e) {
// explizit keine Fehlerbehandlung
}
}
return result;
}
/**
* @return
*/
public static IMSApiService createInstance() {
try {
IMSApiService result = null;
Class<?>[] interfaces = new Class[] { IMSApiService.class };
result = (IMSApiService) Proxy.newProxyInstance(ImsApiServiceProxy.class.getClassLoader(), interfaces,
new ImsApiServiceProxy());
IMSApiService delegate = ServiceLocator.getService(IMSApiService.class);
if (delegate != null) {
Method[] apiMethodArray = IMSApiService.class.getMethods();
for (Method method : apiMethodArray) {
if (methods.containsKey(method.getName())) {
continue;
}
methods.put(method.getName(), method);
LogHandler.log(ImsApiServiceProxy.class.getName(), TRACE, "calling method " + method.getName());
// Die Parameternamen werden jetzt ueber Annotations ausgelesen
// @ItacMethodDescriptor(argNames={"sessValData"})
ItacMethodDescriptor methodDescriptor = method.getAnnotation(ItacMethodDescriptor.class);
if (methodDescriptor == null) {
LogHandler.log(ImsApiServiceProxy.class.getName(), WARN, "method " + method.getName()
+ " is not annotated with \"@ItacMethodDescriptor\", method has no parameters ...\n");
} else {
methodParameter.put(method.getName(), methodDescriptor.argNames());
}
}
}
// finden, auflisten und registrieren aller Methoden mit Parameternamen
return result;
} catch (LookupException ex) {
LogHandler.log(ImsApiServiceProxy.class.getName(), ERROR, "service lookup failed", ex);
}
return null;
}
/*
* (non-Javadoc) functionUploadValues and functionUploadKeys are called together in input parameters. in output section functionUploadKeys is used
* again to print functionResultValues
* @see java.lang.reflect.InvocationHandler#invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
*/
@Override
public java.lang.Object invoke(java.lang.Object proxy, Method method, java.lang.Object[] args) throws Throwable {
long startCall = System.currentTimeMillis();
String[] methodParam = methodParameter.get(method.getName());
StringBuffer paramStr = new StringBuffer();
Object result = method.invoke(ServiceLocator.getService(IMSApiService.class), args);
Map<String, String[]> uploadValues = new HashMap<>();
if (parameterLogging) {
for (int i = 0; i < methodParam.length; i++) {
if (!ObjectEvaluator.CLASSES_IN_ONE_LINE) {
paramStr.append(" ");
}
// corresponding Key-Values?
if (methodParam[i].endsWith("Keys")) {
// keep for evaluation of return values
String baseName = methodParam[i].substring(0, methodParam[i].length() - "Keys".length());
uploadValues.put(baseName, (String[]) args[i]);
// are there some more parameters
if (methodParam.length > (i + 1)) {
if (methodParam[i + 1].startsWith(baseName) && methodParam[i + 1].endsWith("Values")) {
StringBuilder stb = new StringBuilder();
ImsApiTools.printKeyValues(stb, baseName, (String[]) args[i], (String[]) args[i + 1]);
paramStr.append(stb.toString());
paramStr.append('\n');
i += 1;
continue;
}
}
}
fieldEvaluator.evaluateObject(methodParam[i], args[i], paramStr);
if (i < (methodParam.length - 1)) {
if (ObjectEvaluator.CLASSES_IN_ONE_LINE) {
paramStr.append(", ");
} else {
paramStr.append("\n");
}
}
}
}
StringBuffer returnValues = new StringBuffer();
long end = System.currentTimeMillis() - startCall;
returnValues.append(method.getName()).append("() completed in ").append(end).append(" millies\n").append(paramStr);
if (parameterLogging) {
StringBuffer stbResult = new StringBuffer();
if (result != null) {
stbResult.append(new ImsApiResultEvaluator().evaluate(result, uploadValues));
returnValues.append("\nreturn:\n" + stbResult.toString());
}
}
LogHandler.debug(returnValues.toString());
if (protocol != null) {
if (protocol.getText().length() > MAX_PROTOCOL_SIZE) {
// nur zur Sicherheit, falls jemand das protocol nicht loescht wird eine maximale Groesse begrenzt
protocol.clear();
}
protocol.appendMessage(returnValues);
}
if (methodCallObserver != null) {
methodCallObserver.called(method.getName(), result);
}
return result;
}
public static void setMethodCallObserver(IMSApiService imsApiServiceProxy, MethodCallObserver methodCallObserver) {
// dieses Feld per reflection setzen !!!
if (imsApiServiceProxy instanceof Proxy) {
try {
InvocationHandler handler = Proxy.getInvocationHandler(imsApiServiceProxy);
Field[] fields = ImsApiServiceProxy.class.getDeclaredFields();
for (Field f : fields) {
if (f.getName().equals("methodCallObserver")) {
f.setAccessible(true);
f.set(handler, methodCallObserver);
}
}
} catch (Exception e) {
// explizit keine Fehlerbehandlung
}
}
}
}

View File

@@ -0,0 +1,218 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied, printed, edited
* or otherwise distributed, be stored in a retrieval system, or be translated into another language without the written permission
* of iTAC Software AG.
*/
package com.itac.mes.client;
import com.itac.mes.imsapi.domain.container.KeyValue;
import com.itac.util.constants.imsapi.ImsApiKey;
import com.itac.util.logging.LogHandler;
import com.itac.util.logging.LogLevel;
public class ImsApiTools {
public static String[] getKeys(ImsApiKey... configKeys) {
if (configKeys == null) {
return null;
}
String[] retArray = new String[configKeys.length];
for (int i = 0; i < configKeys.length; i++) {
retArray[i] = configKeys[i].name();
}
return retArray;
}
/**
* @param imsapiKeys
* @param values
* @return null, wenn einer der Parameter null ist oder wenn die Arrays unterschiedliche L&auml;ngen haben
*/
public static KeyValue[] getKeyValue(ImsApiKey[] imsapiKeys, String[] values) {
if (imsapiKeys == null || values == null) {
return null;
}
if (imsapiKeys.length != values.length) {
return null;
}
KeyValue[] result = new KeyValue[imsapiKeys.length];
for (int i = 0; i < imsapiKeys.length; i++) {
result[i] = new KeyValue(imsapiKeys[i].name(), values[i]);
}
return result;
}
public static synchronized String toString(String fieldName, ImsApiKey[] imsApiKeys, String[] values) {
// geordnete Ausgabe der Values (lesbar)
try {
StringBuilder stb = new StringBuilder();
// sind die Daten ein Array??
if (imsApiKeys == null) {
return "IMSAPITools print problem: imsapiKeys=null";
}
if (values == null) {
return "IMSAPITools print problem: values array=null";
}
if (imsApiKeys.length == 0) {
return "IMSAPITools print problem: imsapiKeys.length=0";
}
boolean isArray = imsApiKeys.length < values.length;
if (isArray) {
int arrayCount = values.length / imsApiKeys.length;
// arrayCount == 0 kann nicht vorkommen
// if (arrayCount == 0) {
// printKeyValues(stb, fieldName, imsApiKeys, values, 0, arrayCount);
// }
for (int i = 0; i < arrayCount; i++) {
printKeyValues(stb, fieldName, imsApiKeys, values, i, arrayCount);
}
} else {
stb.append(fieldName);
if (!fieldName.equals("")) {
stb.append('\n');
}
printKeyValues(stb, fieldName, imsApiKeys, values, -1, -1);
}
return stb.toString();
} catch (Throwable th) {
LogHandler.log(LogLevel.ERROR, "ImsApiTools.toString() failed", th);
return "IMSAPITools print problem";
}
}
private static void printKeyValues(StringBuilder stb, String fieldName, ImsApiKey[] imsApiKeys, String[] values, int arrayIndex,
int arrayCount) {
int baseIndex = 0;
if (arrayIndex >= 0) {
baseIndex = arrayIndex * imsApiKeys.length;
}
stb.append(fieldName);
if (arrayIndex >= 0) {
stb.append('[').append(arrayIndex).append("]/[").append(arrayCount).append(']');
}
if (!fieldName.equals("") && arrayIndex >= 0) {
stb.append('\n');
}
if (arrayCount <= 0) {
return;
}
for (int k = 0; k < imsApiKeys.length; k++) {
stb.append(" ").append(imsApiKeys[k].name());
// Array-index ausgeben
stb.append(':');
stb.append(values[baseIndex + k]).append('\n');
}
}
/**
* print keys and values in a formatted way for column-oriented logging
* <p>
* <code>
* key1: value1, key2: value2, key3: value3, key4: value4,<br>
* key5: value5
* </code>
*
* @param baseName
* may be null, no printing, no line feed
* @param imsApiKeys
* @param values
* @return
*/
public static void printKeyValues(StringBuilder stb, String baseName, String[] imsApiKeys, String[] values) {
if (imsApiKeys == null || values == null) {
stb.append("keys/values = null");
return;
}
if (values.length == 0) {
stb.append("");
return;
}
if ((values.length % imsApiKeys.length ) != 0) {
stb.append("keys/values unequal size");
return;
}
int maxColumns = 132; // print-width
// find key-length and value length over all...
int keyLength = 0;
for (String item : imsApiKeys) {
keyLength = Math.max(keyLength, item.length());
}
int valueLength = 0;
for (String value : values) {
valueLength = Math.max(valueLength, value.length());
}
boolean isArray = values.length > imsApiKeys.length;
int arrayIndex = 0;
int column = 0;
int valueStartIndex = 0;
if (baseName != null) {
stb.append(baseName);
if (!baseName.isEmpty()) {
stb.append(':');
}
stb.append('\n');
}
while (valueStartIndex < values.length) {
if (isArray) {
// print index-key
if (arrayIndex > 0) {
stb.append('\n');
column = 0;
}
stb.append('[').append(arrayIndex).append("]\n");
}
for (int k = 0; k < imsApiKeys.length; k++) {
if (column == 0) {
stb.append(" ");
column += 3;
}
stb.append(fillString(imsApiKeys[k], keyLength)).append(": ");
column += (keyLength + 2 + valueLength);
if (k < (imsApiKeys.length - 1)) {
stb.append(fillString(values[valueStartIndex + k], valueLength, ','));
column += 2;
} else {
stb.append(fillString(values[valueStartIndex + k], valueLength));
}
if (column > maxColumns) {
stb.append('\n');
column = 0;
}
}
arrayIndex++;
valueStartIndex += imsApiKeys.length;
}
}
/**
* Fills a string to the given length with spaces, optionally append a closig character.
*
* @param name
* the string to be filled
* @param keyLength
* the resulting string should have this length
* @param closingChar
* optional; if given this is appended to the string
* @return the filled string with the given length
*/
private static String fillString(String name, int keyLength, char... closingChar) {
StringBuilder stb = new StringBuilder(name);
if (closingChar.length > 0) {
stb.append(closingChar[0]);
}
while (stb.length() <= keyLength) {
stb.append(' ');
}
return stb.toString();
}
}

View File

@@ -0,0 +1,14 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part
* of this file in any form be copied, printed, edited or otherwise distributed,
* be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
public abstract class MethodCallListener {
abstract public void methodCalled(String method, Object result);
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright (c) 2008, 2013 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import com.itac.util.logging.LogHandler;
import com.itac.util.logging.LogLevel;
/**
* Create the Method call observer.
*
* @author frankp
*
*/
public class MethodCallObserver {
private Map<String, ValueCondition> methods = new HashMap<String, ValueCondition>();
private MethodCallListener listener;
public void register(String method, String valueConditonString) {
// conditonString auseinandernehmen
ValueCondition valueCondition = new ValueCondition(valueConditonString);
methods.put(method, valueCondition);
}
public void setListener(MethodCallListener listener) {
this.listener = listener;
}
public void called(String method, Object result) {
if (listener == null) {
return;
}
if (methods.containsKey(method)) {
// die Bedingung(en) zu dieser Methode holen
ValueCondition valueCondition = methods.get(method);
// das Rueckgabeobjekt kann eine API oder IMSAPI Funktion sein;
// aus dieser den return_value holen und nur diesen vergleichen
if (result != null) {
int returnValue = getReturnValue(result);
if (valueCondition.contains(returnValue)) {
listener.methodCalled(method, returnValue);
}
}
}
}
protected int getReturnValue(Object result) {
int returnValue = Integer.MIN_VALUE;
// gibt es ein Feld return_value???
// sowohl fuer imsapi als auch fuer ewapi gibt es dieses return_value field
Field field;
try {
field = result.getClass().getField("return_value");
returnValue = field.getInt(result);
} catch (Exception e) {
LogHandler.log(getClass().getSimpleName(), LogLevel.ERROR, "accessing field return_value failed", e);
}
return returnValue;
}
}

View File

@@ -0,0 +1,35 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part
* of this file in any form be copied, printed, edited or otherwise distributed,
* be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
public class Protocol {
private final static int MAX_LENGTH = 10000000;
private StringBuffer text = new StringBuffer();
public StringBuffer getProtocol() {
return text;
}
public void appendMessage(StringBuffer returnValues) {
text.append(returnValues);
// text Laengenbegrenzen
if (text.length() > MAX_LENGTH) {
text = text.delete(MAX_LENGTH, text.length());
}
}
public void clear() {
text = new StringBuffer();
}
public String getText() {
return text.toString();
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part
* of this file in any form be copied, printed, edited or otherwise distributed,
* be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
public class RangeCondition
extends SimpleCondition {
private int min = 0;
private int max = 0;
public RangeCondition(String condition) {
super();
String[] values = condition.split("\\..");
int v1 = Integer.parseInt(values[0]);
int v2 = Integer.parseInt(values[1]);
min = Math.min(v1, v2);
max = Math.max(v1, v2);
}
@Override
public boolean fulfilled(int value) {
return value >= min && value <= max;
}
}

View File

@@ -0,0 +1,25 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part
* of this file in any form be copied, printed, edited or otherwise distributed,
* be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
public class SimpleCondition {
private int value;
public SimpleCondition(String condition) {
this.value = Integer.parseInt(condition);
}
public SimpleCondition() {
}
public boolean fulfilled(int value) {
return this.value == value;
}
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
import java.util.ArrayList;
import java.util.List;
public class ValueCondition {
private List<SimpleCondition> conditions = new ArrayList<SimpleCondition>();
public ValueCondition(String valueConditonString) {
super();
if (valueConditonString != null) {
String[] x = valueConditonString.split("\\;");
for (int i = 0; i < x.length; i++) {
if (x[i].contains("..")) {
conditions.add(new RangeCondition(x[i]));
} else {
conditions.add(new SimpleCondition(x[i]));
}
}
}
}
public boolean containsInt(int result) {
for (int i = 0; i < conditions.size(); i++) {
if (conditions.get(i).fulfilled(result)) {
return true;
}
}
return false;
}
public boolean contains(Object result) {
if (result == null) {
return false;
}
if (result instanceof Integer) {
return containsInt((Integer) result);
}
return false;
}
}

View File

@@ -0,0 +1,104 @@
/*
* created 16.06.2005 by Frank Pruefer
*
* file JTopPanel.java
*/
package com.itac.mes.clientframe.presentation;
import com.itac.resource.ResourcePool;
import com.itac.resource.ResourcesImages;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.Icon;
import javax.swing.JLabel;
import javax.swing.JPanel;
/**
* created on 05.04.2005 by Frank Pruefer
*
* @author frankp
*
*/
public class JTopPanel extends JPanel {
/**
*
*/
private static final long serialVersionUID = -4873158751749138498L;
private JLabel lblTitle;
private JLabel lblSubTitle;
private JLabel lblIcon;
public JTopPanel() {
super();
initialize();
}
/**
* This method initializes this
*
*/
private void initialize() {
lblIcon = new JLabel();
GridBagConstraints gridBagConstraints81 = new GridBagConstraints();
lblSubTitle = new JLabel();
lblTitle = new JLabel();
GridBagConstraints gridBagConstraints15 = new GridBagConstraints();
GridBagConstraints gridBagConstraints17 = new GridBagConstraints();
this.setLayout(new GridBagLayout());
this.setBackground(java.awt.Color.white);
this.setPreferredSize(new java.awt.Dimension(10, 55));
this.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
this.setSize(444, 71);
this.setPreferredSize(new Dimension(444, 71));
gridBagConstraints15.gridx = 0;
gridBagConstraints15.gridy = 0;
gridBagConstraints15.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints15.weightx = 1.0D;
gridBagConstraints15.insets = new java.awt.Insets(10, 10, 0, 0);
lblTitle.setText("Title");
lblTitle.setFont(new java.awt.Font("MS Sans Serif", java.awt.Font.BOLD, 14));
gridBagConstraints17.gridx = 0;
gridBagConstraints17.gridy = 2;
gridBagConstraints17.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints17.weighty = 1.0D;
gridBagConstraints17.insets = new java.awt.Insets(12, 40, 0, 0);
lblSubTitle.setText("subTitle");
gridBagConstraints81.gridx = 1;
gridBagConstraints81.gridy = 0;
gridBagConstraints81.gridheight = 3;
gridBagConstraints81.insets = new java.awt.Insets(0, 0, 0, 10);
lblIcon.setText("");
lblIcon.setIcon(ResourcePool.getInstance().getImageIcon(ResourcesImages.IMAGEICON_LOGIN_KEYS));
this.add(lblTitle, gridBagConstraints15);
this.add(lblSubTitle, gridBagConstraints17);
this.add(lblIcon, gridBagConstraints81);
}
public Icon getIcon() {
return lblIcon.getIcon();
}
public void setIcon(Icon image) {
lblIcon.setIcon(image);
}
public String getTitle() {
return lblTitle.getText();
}
public void setTitle(String newTitle) {
lblTitle.setText(newTitle);
}
public String getSubTitle() {
return lblSubTitle.getText();
}
public void setSubTitle(String newSubTitle) {
lblSubTitle.setText(newSubTitle);
}
}

View File

@@ -0,0 +1,90 @@
/*
* Copyright (c) 2017 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied, printed, edited
* or otherwise distributed, be stored in a retrieval system, or be translated into another language without the written permission
* of iTAC Software AG.
*/
package com.itac.mes.core.domain.entity;
import com.itac.resource.ResourcePool;
import com.itac.resource.Resources;
/**
*
* @author frankp
*/
public enum BEASTATUS {
/** DISPO_LOCKED: Flag = L*/
DISPO_LOCKED("L", Resources.Utils.TXT_BEA_STATUS_DISPO_LOCKED),
/** FINISHED: Flag = E*/
FINISHED("E", Resources.Utils.TXT_BEA_STATUS_FINISHED),
/** INIT: Flag = F*/
INIT("F", Resources.Utils.TXT_BEA_STATUS_INIT),
/** IN_PROCESS: Flag = S*/
IN_PROCESS("S", Resources.Utils.TXT_BEA_STATUS_IN_PROCESS),
/** LOCKED: Flag = B*/
LOCKED("B", Resources.Utils.TXT_BEA_STATUS_LOCKED),
/** LOT_COMPLETE: Flag = C*/
LOT_COMPLETE("C", Resources.Utils.TXT_BEA_STATUS_LOT_COMPLETE),
/** NOT_INIT: Flag = N*/
NOT_INIT("N", Resources.Utils.TXT_BEA_STATUS_NOT_INIT),
/** PREPARED: Flag = P*/
PREPARED("P", Resources.Utils.TXT_BEA_STATUS_PREPARED),
/** PRE_RELEASE: Flag = V*/
PRE_RELEASE("V", Resources.Utils.TXT_BEA_STATUS_PRE_RELEASE),
/** QS_LOCKED: Flag = Q*/
QS_LOCKED("Q", Resources.Utils.TXT_BEA_STATUS_QS_LOCKED),
/** READY: Flag = R*/
READY("R", Resources.Utils.TXT_BEA_STATUS_READY),
/** New status Consumed , Flag U*/
CONSUMED("U", Resources.Utils.TXT_BEA_STATUS_READY),
/** @deprecated DO NOT USE! UNDEF is a dummy field, used if DB has a unknown value */
@Deprecated
UNDEF(null, Resources.Common.Data.State.UNDEF_ENUM);
private String flag;
private Integer resourceId;
private BEASTATUS(String aFlag, Integer aResourceId) {
this.flag = aFlag;
this.resourceId = aResourceId;
}
/**
* @return the Flag read/written into DB for this BEASTATUS
*/
public String getFlag() {
return this.flag;
}
/**
* @return the Resource-String for this BEASTATUS <br>
* If no Resource is given, this BEASTATUS.name() will be returned
*/
@Override
public String toString() {
if(this.resourceId != null) {
return ResourcePool.getInstance().getString(this.resourceId);
}
return this.name();
}
/**
* Get the BEASTATUS for a given BEASTATUS-Flag<br>
* @param aFlag
* @return BEASTATUS
*/
public static BEASTATUS getForFlag(String aFlag) {
if(aFlag == null) {
return null;
}
for(BEASTATUS s : values()) {
if ((s.getFlag() != null) && (s.getFlag().equals(aFlag))) {
return s;
}
}
UNDEF.flag = aFlag;
return UNDEF;
}
}

View File

@@ -0,0 +1,186 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.itac.mes.core.domain.entity;
import java.io.Serializable;
public class Komponente implements Serializable {
public Komponente() {
}
private String kompName;
private String sachnr;
private int lage;
private String txtCode;
private String kompNameXY;
private java.util.Vector<?> prozess;
private String kompArt;
private int sachnrId;
private String planquadrat;
private String kompArtBez;
private String artBez;
private String produktFlag;
private boolean isMainKomp; // flag that indicates that the komponent is alternative no. 0
private long asNo;
public boolean containsMaGrp(String maGrp) {
if (prozess != null) {
// Enumeration enume = prozess.elements();
// while (enume.hasMoreElements()) {
// Prozess proz = (Prozess) enume.nextElement();
// if (maGrp.equals(proz.getMaGrp())) {
// return true;
// }
// }
}
return false;
}
public String getKompName() {
return kompName;
}
public void setKompName(String newKompName) {
kompName = newKompName;
}
public String getProduktFlag() {
return produktFlag;
}
public void setProduktFlag(String newProduktFlag) {
produktFlag = newProduktFlag;
}
public void setSachnr(String newSachnr) {
sachnr = newSachnr;
}
public String getSachnr() {
return sachnr;
}
public void setLage(int newLage) {
lage = newLage;
}
public int getLage() {
return lage;
}
public void setTxtCode(String newTxtCode) {
txtCode = newTxtCode;
}
public String getTxtCode() {
return txtCode;
}
public void setKompNameXY(String newKompNameXY) {
kompNameXY = newKompNameXY;
}
public String getKompNameXY() {
return kompNameXY;
}
// public PolygonDouble getPolygon() {
// return this.polygon;
// }
//
// public void setPolygon(PolygonDouble newPolygon) {
// polygon = newPolygon;
// }
public void setProzess(java.util.Vector<?> newProzess) {
prozess = newProzess;
}
public java.util.Vector<?> getProzess() {
return prozess;
}
public void setKompArt(String newKompArt) {
kompArt = newKompArt;
}
public String getKompArt() {
return kompArt;
}
public void setSachnrId(int newSachnrId) {
sachnrId = newSachnrId;
}
public int getSachnrId() {
return sachnrId;
}
public void setPlanquadrat(String newPlanquadrat) {
planquadrat = newPlanquadrat;
}
public String getPlanquadrat() {
return planquadrat;
}
public void setKompArtBez(String newKompArtBez) {
kompArtBez = newKompArtBez;
}
public String getKompArtBez() {
return kompArtBez;
}
public void setArtBez(String newArtBez) {
artBez = newArtBez;
}
public String getArtBez() {
return artBez;
}
public void setAsNo(long asNo) {
this.asNo = asNo;
}
public long getAsNo() {
return asNo;
}
public boolean isMainKomp() {
return this.isMainKomp;
}
public void setIsMainKomp(boolean isMainKomp) {
this.isMainKomp = isMainKomp;
}
public String toString() {
StringBuffer buffer = new StringBuffer();
buffer.append("lage:").append(this.lage);
buffer.append(" sachnrId:").append(this.sachnrId);
buffer.append(" artBez:").append(this.artBez);
buffer.append(" kompArt:").append(this.kompArt);
buffer.append(" kompArtBez:").append(this.kompArtBez);
buffer.append(" kompName:").append(this.kompName);
buffer.append(" kompNameXY:").append(this.kompNameXY);
buffer.append(" planquadrat:").append(this.planquadrat);
buffer.append(" produktFlag:").append(this.produktFlag);
buffer.append(" sachnr:").append(this.sachnr);
buffer.append(" txtCode:").append(this.txtCode);
buffer.append(" mainKom:").append(this.isMainKomp);
buffer.append(" asNo:").append(this.asNo);
if (this.prozess != null)
buffer.append(" prozess:").append(this.prozess.toString());
return buffer.toString();
}
}

View File

@@ -0,0 +1,75 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.itac.mes.core.domain.entity;
import com.itac.resource.ResourcePool;
import com.itac.resource.Resources;
/**
*
* @author frankp
*/
public enum PMTYPE {
/** EQUIPMENT: Flag = E*/
EQUIPMENT("E", Resources.Common.Data.State.GLO_PM_REF_PM_TYPE_EQUIPMENT),
/** FEEDER: Flag = F*/
FEEDER("F", Resources.Common.Data.State.GLO_PM_REF_PM_TYPE_FEEDER),
/** HEAD: Flag = H*/
HEAD("H", Resources.Common.Data.State.PMTYPE_HEAD),
/** NOZZLE: Flag = N*/
NOZZLE("N", Resources.Common.Data.State.GLO_PM_REF_PM_TYPE_NOZZLE),
/** PRODUCTIONUTILITIES: Flag = PU*/
PRODUCTIONUTILITIES("PU", Resources.Common.Data.State.GLO_PM_REF_PM_TYPE_PRODUCTIONUTILITIES),
/** TESTEQUIPMENT: Flag = TE*/
TESTEQUIPMENT("TE", Resources.Common.Data.State.GLO_PM_REF_PM_TYPE_TESTEQUIPMENT),
/** TESTUTILITIES: Flag = TU*/
TESTUTILITIES("TU", Resources.Common.Data.State.GLO_PM_REF_PM_TYPE_TESTUTILITIES),
/** @deprecated DO NOT USE! UNDEF is a dummy field, used if DB has a unknown value */
@Deprecated
UNDEF(null, Resources.Common.Data.State.UNDEF_ENUM);
private String flag;
private Integer resourceId;
private PMTYPE(String aFlag, Integer aResourceId) {
this.flag = aFlag;
this.resourceId = aResourceId;
}
/**
* @return the Flag read/written into DB for this PMTYPE
*/
public String getFlag() {
return this.flag;
}
/**
* @return the Resource-String for this PMTYPE <br>
* If no Resource is given, this PMTYPE.name() will be returned
*/
@Override
public String toString() {
if(this.resourceId != null) {
return ResourcePool.getInstance().getString(this.resourceId);
}
return this.name();
}
/**
* Get the PMTYPE for a given PMTYPE-Flag<br>
* @param aFlag
* @return PMTYPE
*/
public static PMTYPE getForFlag(String aFlag) {
if(aFlag == null) {
return null;
}
for(PMTYPE s : values()) {
if ((s.getFlag() != null) && (s.getFlag().equals(aFlag))) {
return s;
}
}
UNDEF.flag = aFlag;
return UNDEF;
}
}

View File

@@ -0,0 +1,110 @@
package com.itac.mes.core.domain.mig.exception;
import java.util.HashMap;
import java.util.Map;
/**
* ContainerClass for global ErrorCodes used by all Exceptions
* @author christiant
* @since 5.1
* @see ItacMesExceptionHandler
*/
public class ItacMesErrorCode
{
/**
* The "ErrorCode" of this ItacMesErrorCode
*/
private final int id;
/**
* The "API-ErrorCode" of this ItacMesErrorCode default -1
*/
private int apiCode = -1;
/**
* The "ErrorCode" of this ItacMesErrorCode
*/
private final String defaultText;
/**
* Ther ResourceId for this ErrorCode-Text
*/
private final int resourceId;
private static Map<Integer, ItacMesErrorCode> knownErrorCodes = new HashMap<Integer, ItacMesErrorCode>();
/**
* Construct a new ErrorCode
* @param id
* @param defaultText
* @param resourceId
*/
public ItacMesErrorCode(int id, String defaultText, int resourceId)
{
super();
this.id = id;
this.defaultText = defaultText;
this.resourceId = resourceId;
knownErrorCodes.put(Integer.valueOf(id), this);
}
/**
* Construct a new ErrorCode with API-Code
* @param id
* @param defaultText
* @param resourceId
* @param apiCode
*/
public ItacMesErrorCode(int id, String defaultText, int resourceId, int apiCode)
{
super();
this.id = id;
this.apiCode = apiCode;
this.defaultText = defaultText;
this.resourceId = resourceId;
knownErrorCodes.put(Integer.valueOf(id), this);
}
/**
* returns default errorText for this ErrorCode
* @return
*/
public final String getDefaultText()
{
return defaultText;
}
/**
* returns Id of this ErrorCode
* @return
*/
public final int getId()
{
return id;
}
/**
* returns apiCode of this ErrorCode
* @return
*/
public final int getApiCode()
{
return apiCode;
}
/**
* returns ResourceId for this ErrorCode
* @return
*/
public final int getResourceId()
{
return resourceId;
}
/**
* returns a String-representation of given ErrorCode for debug purposes etc.
* @return
*/
@Override
public String toString()
{
return "ErrorCodeId = "+this.getId()+", ErrorCodeDefaultMessage = "+this.getDefaultText();
}
}

View File

@@ -0,0 +1,21 @@
/*
* created 23.05.2005 by Frank Pruefer
*
* file WdupPosConstants.java
*/
package com.itac.mes.util.constants.bde;
/**
* created on 23.05.2005 by Frank Pruefer
*
* @author frankp
*
*/
public interface IWdupPos
{
public static final int LAGE_BS_CHAR = 0;
public static final int LAGE_LS_CHAR = 1;
public static final int LAGE_BS_LS_CHAR = 2;
public static final int LAGE_WENDENUTZEN_CHAR = 3;
}

View File

@@ -0,0 +1,23 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.itac.mes.util.constants.glo;
/**
*
* @author frankp
*/
public interface IQsCode
{
public static final int GUT = 10001;
public static final int NA = 10002;
public static final int AUS = 10003;
public static final int STATE_PASS = 0;
public static final int STATE_FAIL = 1;
public static final int STATE_SCRAP = 2;
public static final int STATE_UNKNOWN = -1;
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied, printed, edited
* or otherwise distributed, be stored in a retrieval system, or be translated into another language without the written permission
* of iTAC Software AG.
*/
package com.itac.mes.client;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import org.junit.Test;
import com.itac.util.constants.imsapi.ImsApiKey;
public class ImsApiToolsTest {
@Test
public void test() {
assertNull(ImsApiTools.getKeys((ImsApiKey[]) null));
assertEquals(1, ImsApiTools.getKeys(ImsApiKey.ACTIVE).length);
assertEquals("ACTIVE", ImsApiTools.getKeys(ImsApiKey.ACTIVE)[0]);
}
@Test
public void testGetKeyValue() {
assertNull(ImsApiTools.getKeyValue((ImsApiKey[]) null, (String[]) null));
assertNull(ImsApiTools.getKeyValue((ImsApiKey[]) null, new String[] { "" }));
assertNull(ImsApiTools.getKeyValue(new ImsApiKey[] { ImsApiKey.ACTIVE }, (String[]) null));
// unterschiedliche Laenge des Arrays
assertNull(ImsApiTools.getKeyValue(new ImsApiKey[] { ImsApiKey.ACTIVE }, new String[] {}));
assertNull(ImsApiTools.getKeyValue(new ImsApiKey[] { ImsApiKey.ACTIVE }, new String[] { "", "" }));
// identische Laengen
assertNotNull(ImsApiTools.getKeyValue(new ImsApiKey[] { ImsApiKey.ACTIVE }, new String[] { "" }));
}
@Test
public void test1() {
assertEquals("IMSAPITools print problem: values array=null",
ImsApiTools.toString("field", new ImsApiKey[] { ImsApiKey.ACTIVE }, (String[]) null).toString());
assertEquals("IMSAPITools print problem: imsapiKeys=null",
ImsApiTools.toString("field", (ImsApiKey[]) null, new String[] { "active" }).toString());
}
@Test
public void test2() {
assertEquals(
"field[[0]/[2]]\n" + //
" ACTIVE:active\n" + //
"field[[1]/[2]]\n" + //
" ACTIVE:inactive\n" + //
"[0]/[2]\n" + //
" ACTIVE:active\n" + //
"field[[0]/[2]]\n" + //
" ACTIVE:active\n" + //
"field[[1]/[2]]\n" + //
" ACTIVE:inactive\n" + //
"[1]/[2]\n" + //
" ACTIVE:inactive\n",
ImsApiTools.toString("field[[0]/[2]]\n ACTIVE:active\nfield[[1]/[2]]\n ACTIVE:inactive\n",
new ImsApiKey[] { ImsApiKey.ACTIVE }, new String[] { "active", "inactive" }).toString());
}
@Test
public void test3() {
assertEquals("field[0]/[2]\n" + //
" ACTIVE:active\n" + //
"field[1]/[2]\n" + //
" ACTIVE:inactive\n",
ImsApiTools.toString("field", new ImsApiKey[] { ImsApiKey.ACTIVE }, new String[] { "active", "inactive" }).toString());
}
@Test
public void test4() {
assertEquals("", ImsApiTools.toString("", new ImsApiKey[] { ImsApiKey.ACTIVE }, new String[] { "active" }).toString());
}
@Test
public void test5() {
assertEquals("field\nfield", ImsApiTools.toString("field", new ImsApiKey[] { ImsApiKey.ACTIVE }, new String[] { "active" })
.toString());
}
@Test
public void test6() {
assertEquals("IMSAPITools print problem: imsapiKeys.length=0",
ImsApiTools.toString("field", new ImsApiKey[] {}, new String[] { "active" }).toString());
}
@Test
public void testPrintArray() {
String[] keys = ImsApiTools.getKeys(new ImsApiKey[] { ImsApiKey.ACKNOWLEDGEMENT_DATE, ImsApiKey.ACTIVATE_SETUP, ImsApiKey.ACTIVATE_WORKORDER,
ImsApiKey.MATERIAL_BIN_NUMBER, ImsApiKey.PHANTOM_WORKORDER_NUMBER, ImsApiKey.ASSIGN_SERIAL_NUMBERS });
String[] values = new String[] { "32535212399999", "0", "1", "MATERIAL_BIN", "PHANTOM_WORKORDER", "1",
"0", "xxx", "0", "MATERIAL_2", "PHANTOM_2", "0"
};
StringBuilder stb = new StringBuilder();
ImsApiTools.printKeyValues(stb, "", keys, values);
String expected = "\n" +
"[0]\n" +
" ACKNOWLEDGEMENT_DATE : 32535212399999, ACTIVATE_SETUP : 0, ACTIVATE_WORKORDER : 1, \n" +
" MATERIAL_BIN_NUMBER : MATERIAL_BIN, PHANTOM_WORKORDER_NUMBER : PHANTOM_WORKORDER,ASSIGN_SERIAL_NUMBERS : 1 \n" +
"\n" +
"[1]\n" +
" ACKNOWLEDGEMENT_DATE : 0, ACTIVATE_SETUP : xxx, ACTIVATE_WORKORDER : 0, \n" +
" MATERIAL_BIN_NUMBER : MATERIAL_2, PHANTOM_WORKORDER_NUMBER : PHANTOM_2, ASSIGN_SERIAL_NUMBERS : 0 \n";
assertEquals(expected, stb.toString());
}
}

View File

@@ -0,0 +1,61 @@
package com.itac.mes.client;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.*;
import org.junit.Test;
import com.itac.mes.imsapi.domain.container.Result_mlGetMaterialBinData;
import com.itac.mes.imsapi.domain.container.Result_smtSetupData;
public class MethodCallObserverTest {
@Test
public void testObjectWithReturnValueField() {
MethodCallObserver out = new MethodCallObserver();
Result_smtSetupData result = new Result_smtSetupData();
result.return_value = 5;
assertEquals(5, out.getReturnValue(result));
Result_mlGetMaterialBinData mlValue = new Result_mlGetMaterialBinData();
mlValue.return_value = 123;
assertEquals(123, out.getReturnValue(mlValue));
}
@Test
public void testObjectWithoutReturnValueField() {
MethodCallObserver out = new MethodCallObserver();
Object value = new Object();
assertEquals(Integer.MIN_VALUE, out.getReturnValue(value));
}
@Test
public void testObjectWithoutReturnValueField2() {
MethodCallObserver out = new MethodCallObserver();
int value = 24;
assertEquals(Integer.MIN_VALUE, out.getReturnValue(value));
// sofortiges Beenden der Funktion
out.called("function", "12");
MethodCallListener listener = mock(MethodCallListener.class);
out.setListener(listener);
out.register("function", "12");
out.called("otherFunction", null);
out.called("otherFunction", "result");
out.called("function", null);
out.called("function", "100");
out.called("function", "12");
out.called("function", 12);
verify(listener, never()).methodCalled(anyString(), anyObject());
Result_mlGetMaterialBinData mlValue = new Result_mlGetMaterialBinData();
mlValue.return_value = 12;
out.called("function", mlValue);
verify(listener, times(1)).methodCalled(anyString(), anyObject());
}
}

View File

@@ -0,0 +1,47 @@
/*
* Copyright (c) 2008 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied, printed, edited
* or otherwise distributed, be stored in a retrieval system, or be translated into another language without the written permission
* of iTAC Software AG.
*/
package com.itac.mes.client;
import static org.junit.Assert.*;
import org.junit.Test;
public class ProtocolTest {
@Test
public void test() {
Protocol out = new Protocol();
assertEquals("", out.getText());
assertEquals("", out.getProtocol().toString());
out.clear();
assertEquals("", out.getText());
assertEquals("", out.getProtocol().toString());
}
@Test
public void testAppend() {
Protocol out = new Protocol();
out.appendMessage(new StringBuffer("1234567890"));
assertEquals("1234567890", out.getText());
}
@Test
public void testAppendLongText() {
String text = "0123456789001234567890012345678900123456789001234567890";
StringBuffer longText = new StringBuffer();
for (int i = 0; i <= 10000000; i += 50) {
longText.append(text);
}
// Text ist laenger als die max erlaubte Laenge
Protocol out = new Protocol();
out.appendMessage(longText);
assertTrue( longText.length() > out.getProtocol().length());
}
}

View File

@@ -0,0 +1,20 @@
package com.itac.mes.client;
import static org.junit.Assert.*;
import org.junit.Test;
public class RangeConditionTest {
@Test
public void test() {
RangeCondition out = new RangeCondition("4..8");
assertFalse(out.fulfilled(3));
assertTrue(out.fulfilled(4));
assertTrue(out.fulfilled(5));
assertTrue(out.fulfilled(6));
assertTrue(out.fulfilled(7));
assertTrue(out.fulfilled(8));
assertFalse(out.fulfilled(9));
}
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright (c) 2008, 2013 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
package com.itac.mes.client;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class ValueConditionTest {
@Test
public void testConstructor() {
ValueCondition out = new ValueCondition(null);
assertFalse(out.contains(null));
assertFalse(out.contains("1"));
out = new ValueCondition("12");
assertFalse(out.contains(null));
assertFalse(out.contains("1"));
assertFalse(out.contains("12"));
assertFalse(out.contains(1));
assertTrue(out.contains(12));
}
@Test
public void testRangeCondition() {
ValueCondition out = new ValueCondition("12..24");
assertFalse(out.contains(null));
assertFalse(out.contains("1"));
assertFalse(out.contains("12"));
assertFalse(out.contains(1));
assertTrue(out.contains(12));
assertTrue(out.contains(13));
assertTrue(out.contains(23));
assertTrue(out.contains(24));
assertFalse(out.contains(25));
}
}

View File

@@ -0,0 +1,5 @@
Manifest-Version: 1.0
Built-By: frankp
Build-Jdk: 1.8.0_111
Created-By: Maven Integration for Eclipse

View File

@@ -0,0 +1,7 @@
#Generated by Maven Integration for Eclipse
#Tue Oct 13 14:05:19 CEST 2020
version=9.10.00beta-DEVELOPER
groupId=com.itac.interface.interfaces
m2e.projectName=data-interface-mesutil
m2e.projectLocation=C\:\\projects_jee\\imsinterface\\mainline\\interface\\mesutil
artifactId=data-interface-mesutil

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.itac.interface.interfaces</groupId>
<artifactId>data-interface-mesutil</artifactId>
<packaging>jar</packaging>
<name>data-interface-mesutil</name>
<version>${mes.interface.version}</version>
<parent>
<groupId>com.itac.interface</groupId>
<artifactId>data-interface</artifactId>
<version>${mes.interface.version}</version>
</parent>
<dependencies>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>artes-client</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>artes-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>api-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>imsapi-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>util-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.product</groupId>
<artifactId>resource-common</artifactId>
</dependency>
<dependency>
<groupId>com.itac.interface</groupId>
<artifactId>imsinterfaces-resources-export</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,5 @@
#Generated by Maven
#Tue Jun 12 15:09:27 CEST 2018
version=9.00.01alpha-DEVELOPER
groupId=com.itac.interface.interfaces
artifactId=data-interface-mesutil

View File

@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="9" failures="0" name="com.itac.mes.client.ImsApiToolsTest" time="0.125" errors="0" skipped="0">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\bin"/>
<property name="java.vm.version" value="25.111-b14"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="maven.multiModuleProjectDirectory" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=";"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.script" value=""/>
<property name="user.country" value="DE"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value=""/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.runtime.version" value="1.8.0_111-b14"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="C:\Users\frankp\AppData\Local\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows 10"/>
<property name="classworlds.conf" value="C:\maven\apache-maven-3.3.3\bin\..\bin\m2.conf"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk1.8.0_111\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\MKS\IntegrityClient\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\MKS\Toolkit\mksnt;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\maven\maven;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\frankp\AppData\Local\Microsoft\WindowsApps;C:\Users\frankp\AppData\Roaming\npm;c:\Program Files\nodejs\;."/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="52.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="10.0"/>
<property name="user.home" value="C:\Users\frankp"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="java.specification.version" value="1.8"/>
<property name="file.encoding" value="Cp1252"/>
<property name="user.name" value="frankp"/>
<property name="java.class.path" value="C:\maven\apache-maven-3.3.3\bin\..\boot\plexus-classworlds-2.5.2.jar"/>
<property name="java.vm.specification.version" value="1.8"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="C:\Program Files\Java\jdk1.8.0_111\jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean install"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="de"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.8.0_111"/>
<property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_111\jre\classes"/>
<property name="sun.stderr.encoding" value="cp850"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="maven.home" value="C:\maven\apache-maven-3.3.3\bin\.."/>
<property name="file.separator" value="\"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/>
</properties>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="test" time="0.125"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="testGetKeyValue" time="0"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="test5" time="0"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="test2" time="0"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="test3" time="0"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="test4" time="0"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="testPrintArray" time="0"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="test6" time="0"/>
<testcase classname="com.itac.mes.client.ImsApiToolsTest" name="test1" time="0"/>
</testsuite>

View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="3" failures="0" name="com.itac.mes.client.MethodCallObserverTest" time="0.641" errors="0" skipped="0">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\bin"/>
<property name="java.vm.version" value="25.111-b14"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="maven.multiModuleProjectDirectory" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=";"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.script" value=""/>
<property name="user.country" value="DE"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value=""/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.runtime.version" value="1.8.0_111-b14"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="C:\Users\frankp\AppData\Local\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows 10"/>
<property name="classworlds.conf" value="C:\maven\apache-maven-3.3.3\bin\..\bin\m2.conf"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk1.8.0_111\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\MKS\IntegrityClient\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\MKS\Toolkit\mksnt;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\maven\maven;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\frankp\AppData\Local\Microsoft\WindowsApps;C:\Users\frankp\AppData\Roaming\npm;c:\Program Files\nodejs\;."/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="52.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="10.0"/>
<property name="user.home" value="C:\Users\frankp"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="java.specification.version" value="1.8"/>
<property name="file.encoding" value="Cp1252"/>
<property name="user.name" value="frankp"/>
<property name="java.class.path" value="C:\maven\apache-maven-3.3.3\bin\..\boot\plexus-classworlds-2.5.2.jar"/>
<property name="java.vm.specification.version" value="1.8"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="C:\Program Files\Java\jdk1.8.0_111\jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean install"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="de"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.8.0_111"/>
<property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_111\jre\classes"/>
<property name="sun.stderr.encoding" value="cp850"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="maven.home" value="C:\maven\apache-maven-3.3.3\bin\.."/>
<property name="file.separator" value="\"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/>
</properties>
<testcase classname="com.itac.mes.client.MethodCallObserverTest" name="testObjectWithReturnValueField" time="0.016"/>
<testcase classname="com.itac.mes.client.MethodCallObserverTest" name="testObjectWithoutReturnValueField" time="0.14"/>
<testcase classname="com.itac.mes.client.MethodCallObserverTest" name="testObjectWithoutReturnValueField2" time="0.485"/>
</testsuite>

View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="3" failures="0" name="com.itac.mes.client.ProtocolTest" time="0.078" errors="0" skipped="0">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\bin"/>
<property name="java.vm.version" value="25.111-b14"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="maven.multiModuleProjectDirectory" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=";"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.script" value=""/>
<property name="user.country" value="DE"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value=""/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.runtime.version" value="1.8.0_111-b14"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="C:\Users\frankp\AppData\Local\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows 10"/>
<property name="classworlds.conf" value="C:\maven\apache-maven-3.3.3\bin\..\bin\m2.conf"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk1.8.0_111\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\MKS\IntegrityClient\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\MKS\Toolkit\mksnt;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\maven\maven;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\frankp\AppData\Local\Microsoft\WindowsApps;C:\Users\frankp\AppData\Roaming\npm;c:\Program Files\nodejs\;."/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="52.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="10.0"/>
<property name="user.home" value="C:\Users\frankp"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="java.specification.version" value="1.8"/>
<property name="file.encoding" value="Cp1252"/>
<property name="user.name" value="frankp"/>
<property name="java.class.path" value="C:\maven\apache-maven-3.3.3\bin\..\boot\plexus-classworlds-2.5.2.jar"/>
<property name="java.vm.specification.version" value="1.8"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="C:\Program Files\Java\jdk1.8.0_111\jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean install"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="de"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.8.0_111"/>
<property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_111\jre\classes"/>
<property name="sun.stderr.encoding" value="cp850"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="maven.home" value="C:\maven\apache-maven-3.3.3\bin\.."/>
<property name="file.separator" value="\"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/>
</properties>
<testcase classname="com.itac.mes.client.ProtocolTest" name="test" time="0.015"/>
<testcase classname="com.itac.mes.client.ProtocolTest" name="testAppendLongText" time="0.063"/>
<testcase classname="com.itac.mes.client.ProtocolTest" name="testAppend" time="0"/>
</testsuite>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="1" failures="0" name="com.itac.mes.client.RangeConditionTest" time="0.015" errors="0" skipped="0">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\bin"/>
<property name="java.vm.version" value="25.111-b14"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="maven.multiModuleProjectDirectory" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=";"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.script" value=""/>
<property name="user.country" value="DE"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value=""/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.runtime.version" value="1.8.0_111-b14"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="C:\Users\frankp\AppData\Local\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows 10"/>
<property name="classworlds.conf" value="C:\maven\apache-maven-3.3.3\bin\..\bin\m2.conf"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk1.8.0_111\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\MKS\IntegrityClient\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\MKS\Toolkit\mksnt;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\maven\maven;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\frankp\AppData\Local\Microsoft\WindowsApps;C:\Users\frankp\AppData\Roaming\npm;c:\Program Files\nodejs\;."/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="52.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="10.0"/>
<property name="user.home" value="C:\Users\frankp"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="java.specification.version" value="1.8"/>
<property name="file.encoding" value="Cp1252"/>
<property name="user.name" value="frankp"/>
<property name="java.class.path" value="C:\maven\apache-maven-3.3.3\bin\..\boot\plexus-classworlds-2.5.2.jar"/>
<property name="java.vm.specification.version" value="1.8"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="C:\Program Files\Java\jdk1.8.0_111\jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean install"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="de"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.8.0_111"/>
<property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_111\jre\classes"/>
<property name="sun.stderr.encoding" value="cp850"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="maven.home" value="C:\maven\apache-maven-3.3.3\bin\.."/>
<property name="file.separator" value="\"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/>
</properties>
<testcase classname="com.itac.mes.client.RangeConditionTest" name="test" time="0.015"/>
</testsuite>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="2" failures="0" name="com.itac.mes.client.ValueConditionTest" time="0.015" errors="0" skipped="0">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\bin"/>
<property name="java.vm.version" value="25.111-b14"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="maven.multiModuleProjectDirectory" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=";"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.script" value=""/>
<property name="user.country" value="DE"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value=""/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="C:\projects_jee\imsinterface\mainline"/>
<property name="java.runtime.version" value="1.8.0_111-b14"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="C:\Users\frankp\AppData\Local\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows 10"/>
<property name="classworlds.conf" value="C:\maven\apache-maven-3.3.3\bin\..\bin\m2.conf"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk1.8.0_111\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\MKS\IntegrityClient\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\MKS\Toolkit\mksnt;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\maven\maven;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\frankp\AppData\Local\Microsoft\WindowsApps;C:\Users\frankp\AppData\Roaming\npm;c:\Program Files\nodejs\;."/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="52.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="10.0"/>
<property name="user.home" value="C:\Users\frankp"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="java.specification.version" value="1.8"/>
<property name="file.encoding" value="Cp1252"/>
<property name="user.name" value="frankp"/>
<property name="java.class.path" value="C:\maven\apache-maven-3.3.3\bin\..\boot\plexus-classworlds-2.5.2.jar"/>
<property name="java.vm.specification.version" value="1.8"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="C:\Program Files\Java\jdk1.8.0_111\jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean install"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="de"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.8.0_111"/>
<property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_111\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_111\jre\classes"/>
<property name="sun.stderr.encoding" value="cp850"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="maven.home" value="C:\maven\apache-maven-3.3.3\bin\.."/>
<property name="file.separator" value="\"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/>
</properties>
<testcase classname="com.itac.mes.client.ValueConditionTest" name="testRangeCondition" time="0.015"/>
<testcase classname="com.itac.mes.client.ValueConditionTest" name="testConstructor" time="0"/>
</testsuite>

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.itac.mes.client.ImsApiToolsTest
-------------------------------------------------------------------------------
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.235 sec

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.itac.mes.client.MethodCallObserverTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.719 sec

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.itac.mes.client.ProtocolTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.itac.mes.client.RangeConditionTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: com.itac.mes.client.ValueConditionTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec