Home
last modified time | relevance | path

Searched refs:got (Results 1 – 25 of 80) sorted by relevance

1234

/trunk/test/aoo-test/tests/selftest/
H A Dtest_formulacheck.py50 got = collections.defaultdict(list)
52 got[line - 2].append((level + ":" + rule, m))
53 return got
60 got = findings()[n]
61 assert sorted(r for r, _ in got) == sorted(want), (attr, val, got)
62 assert not msg or any(msg in m for _, m in got), (attr, val, msg, got)
H A Dtest_foreign.py56 got = foreign.strip_foreign(HDR + ">" + src + "</office:text>", mixed).split("\n", 1)[1].strip()
57 … inner = got[got.index(">") + 1:-len("</office:text>")] if got.startswith("<office:text") else got
H A Dtest_decrypt.py33 def test_known_answer(got, want): argument
34 assert got == want
H A Dtest_kinds.py39 got = kinds.kinds_of(VAL, "12", {"a.odt", "b.odt"})
40 …assert got == {'element "text:bogus" not allowed here': {"errors": 2, "packages": ["a.odt", "b.odt…
/trunk/test/odf-validate/fixtures/t15/
H A Dcheck.py160 got = attrs(x, "table:table", "table:protection-key")
162 …check("calc re-save %s" % label, got == [b64(key)] and gdig == ([want_dig] if want_dig else []), (…
175 got = attrs(x, "table:table", "table:protection-key")
177 check("calc changed password is written", got == [b64(want)], got)
196 got = attrs(x, "text:section", "text:protection-key")
198 check("writer %s key" % label, got == [b64(key)], got)
205 …got = bytes(sec.getPropertyValue("ProtectionKey").value) if hasattr(sec.getPropertyValue("Protecti…
208 check("writer xmlenc key loaded", got == H_256, got.hex())
/trunk/test/odf-validate/
H A Droundtrip.py43 got = {} variable
46 got[c["name"]] = plain(eval(c["expr"], {"doc": doc, "uno": uno}))
48 got[c["name"]] = "ERROR " + repr(e)
51 json.dump(got, open(sys.argv[sys.argv.index("--capture") + 1], "w"), indent=1)
52 print(json.dumps(got, indent=1)); sys.exit(0)
53 fails = [(c["name"], c["expect"], got[c["name"]]) for c in checks if got[c["name"]] != c["expect"]]
H A Dselftest.py107 got = collections.defaultdict(list) variable
109 got[line - 2].append((level + ":" + rule, m))
113 … if sorted(r for r, _ in got[n]) != sorted(want) or (msg and not any(msg in m for _, m in got[n])):
114 bad_cases.append((n, st, attr, val, got[n]))
145 got = fg.strip_foreign(HDR + ">" + src + "</office:text>", MIXED).split("\n", 1)[1].strip() variable
146 … inner = got[got.index(">") + 1:-len("</office:text>")] if got.startswith("<office:text") else got
H A Ddecrypt.py343 def check(name, got, want): argument
345 print(("ok " if got == want else "FAIL ") + name)
346 bad += got != want
/trunk/test/odf-validate/fixtures/t14/
H A Derror_cells.py81 got = "error %d string %r formula %r" % (c.getError(), c.getString(), c.getFormula())
84 got = "error %d" % c.getError()
86 … expect %-7s got %s %s" % (label, what, TEXT[code] if asstring else code, got, "ok" if ok else "F…
109 …got = [sh.getCellByPosition(0, 0).getValue(), sh.getCellByPosition(1, 0).getError(), sh.getCellByP…
110 ok = got == [1.0, 32767, 2.0, 532]
112 print("sort expect [1.0, 32767, 2.0, 532] got %s %s" % (got, "ok" if ok else "FAIL"))
/trunk/test/odf-validate/fixtures/calc/
H A Dverify.py41 …got = {"type": v.Type.value, "op": v.getOperator().value, "f1": v.getFormula1(), "f2": v.getFormul… variable
45 diff = {k: [r["readback"][k], got[k]] for k in got if got[k] != r["readback"][k]}
46 res.append({"cell": r["cell"], "label": r["label"], "got": got, "diff": diff})
/trunk/test/aoo-test/tests/odf/
H A Dtest_reload.py40 got = run.reload_checks()[source_id]
41 assert "__error__" not in got, got.get("__error__")
43 assert got[name] == expected
/trunk/test/aoo-test/src/aootest_worker/ops/
H A Droundtrip.py51 got = {}
55 got[c["name"]] = plain(eval(c["expr"], {"doc": doc, "uno": uno}))
57 got[c["name"]] = "ERROR " + repr(e)
60 return got
/trunk/test/odf-validate/fixtures/t13/
H A Dprompt_check.py75 got = h.calls > 0 variable
76 results[version] = (loaded, got, want)
77 …aised=%s (handler calls: %d)" % ("PASS" if loaded and got == want else "FAIL", version, loaded, go…
/trunk/test/odf-validate/fixtures/alien-attrs/
H A Dcheck.py33 got = len(re.findall(r'\bex:alien-foreign="v-ex"', text)) variable
35 ok = got == want and odf == 0
37 …oreign %d (want %d), ODF-namespace %d (want 0)" % ("PASS" if ok else "FAIL", name, got, want, odf))
/trunk/test/odf-validate/fixtures/p8/
H A Dnumfmt_save_check.py110 got = (int(a["decimal-places"]) if "decimal-places" in a else None, variable
114 ok = got == want
116 print("%-4s %-7s %-14s got %r want %r" % ("ok" if ok else "FAIL", name, code, got, want))
/trunk/test/aoo-test/src/aootest/checkers/
H A Ddecrypt.py344 def check(name, got, want): argument
345 out.append((name, got, want))
366 for name, got, want in known_answers():
367 print(("ok " if got == want else "FAIL ") + name)
368 bad += got != want
/trunk/test/odf-validate/tools13/
H A Dmake-foreign-corpus.py94 got = 0
95 while got < quota and any(queues):
97 if not q or got >= quota:
105 got += 1
/trunk/test/odf-validate/fixtures/styles-text/
H A Dmake.py123 got = st.getPropertyValue(k)
128 if norm(got) != norm(v):
130 print("RT-DIFF", name, sname, k, "set", norm(v), "got", norm(got))
570 got, gl = ps.getPropertyValue("FormatString"), ps.getPropertyValue("Locale")
575 if got != code or (gl.Language, gl.Country) != (l, c):
577 print("RT-NUMFMT", l, c, code, "->", got, gl.Language, gl.Country)
/trunk/test/aoo-test/src/aootest_worker/fixtures/
H A Dstyles_text.py123 got = st.getPropertyValue(k)
128 if norm(got) != norm(v):
130 print("RT-DIFF", name, sname, k, "set", norm(v), "got", norm(got))
570 got, gl = ps.getPropertyValue("FormatString"), ps.getPropertyValue("Locale")
575 if got != code or (gl.Language, gl.Country) != (l, c):
577 print("RT-NUMFMT", l, c, code, "->", got, gl.Language, gl.Country)
/trunk/main/sal/osl/unx/asm/
H A Dinterlck_sparc.s179 inc %o1 ! delay slot, if we got spinlock, increment count
201 dec %o1 ! delay slot, if we got spinlock, decrement count
/trunk/main/offapi/com/sun/star/awt/
H A DXActivateListener.idl52 <p>A window is avtivated if a child or itself got the focus.</p>
/trunk/main/udkapi/com/sun/star/bridge/
H A DXBridge.idl48 /** name that the bridge got when it was created.
/trunk/main/offapi/com/sun/star/ucb/
H A DFetchError.idl53 /** indicates that during fetching we got an exception.
/trunk/main/offapi/com/sun/star/form/control/
H A DListBox.idl65 … <li>the content of the control has changed, compared to the moment where it got the focus.</li>
H A DTextField.idl69 … <li>the content of the control has changed, compared to the moment where it got the focus.</li>

1234