190191192193194195196197
// do the copy copier = new CasCopier(srcCas, destCas); copier.copyCasView(srcCas, "aNewView", true); // verify copy (new CasComparerViewChange(srcCas, destCas.getView("aNewView"))).assertEqualViews(); }
188189190191192193194195
223224225226227228229230
// do the copy copier = new CasCopier(wrappedSrcCas, wrappedTgtCas); copier.copyCasView(wrappedSrcCas, "aNewView", true); // verify copy (new CasComparerViewChange(wrappedSrcCas, wrappedTgtCas.getView("aNewView"))).assertEqualViews(); }