Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Analisis

 

grep -R genealogies $(find ./ -iname "*.java" )
 
... 

./mes-plugins/mes-plugins-orders/src/main/java/com/qcadoo/mes/orders/OrderService.java: if (order.getHasManyField("genealogies").size() == 0) {
./mes-plugins/mes-plugins-orders/src/main/java/com/qcadoo/mes/orders/OrderService.java: for (Entity genealogy : order.getHasManyField("genealogies")) {
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(0);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").iterator()).willReturn(iterator);
./mes-plugins/mes-plugins-orders/src/test/java/com/qcadoo/mes/products/OrderServiceTest.java: given(order.getHasManyField("genealogies").size()).willReturn(1);

...  

Why does the orders plugin use genealogies in their code ?

  • No labels