summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2023-10-30 19:32:29 (GMT)
committerdgp <dgp@users.sourceforge.net>2023-10-30 19:32:29 (GMT)
commit21e5eb5e3e51e0d244cc9dd876049dc25db27c49 (patch)
tree87b6d8f912513ee5cc1d92111bfce925afde7a13 /generic/tclTest.c
parentcf4672dec51a015fb357be209172ec7868221fce (diff)
downloadtcl-21e5eb5e3e51e0d244cc9dd876049dc25db27c49.zip
tcl-21e5eb5e3e51e0d244cc9dd876049dc25db27c49.tar.gz
tcl-21e5eb5e3e51e0d244cc9dd876049dc25db27c49.tar.bz2
Testing commands [test(g|s)etencpath] have evolved themselves into functional
duplicates of [encoding dirs]. We don't need them anymore.
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c72
1 files changed, 0 insertions, 72 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 6a90b67..895de64 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -321,8 +321,6 @@ static Tcl_ObjCmdProc TestFilesystemObjCmd;
static Tcl_ObjCmdProc TestSimpleFilesystemObjCmd;
static void TestReport(const char *cmd, Tcl_Obj *arg1,
Tcl_Obj *arg2);
-static Tcl_ObjCmdProc TestgetencpathObjCmd;
-static Tcl_ObjCmdProc TestsetencpathObjCmd;
static Tcl_Obj * TestReportGetNativePath(Tcl_Obj *pathPtr);
static Tcl_FSStatProc TestReportStat;
static Tcl_FSAccessProc TestReportAccess;
@@ -749,10 +747,6 @@ Tcltest_Init(
NULL, NULL);
Tcl_CreateObjCommand(interp, "testinterpresolver", TestInterpResolverCmd,
NULL, NULL);
- Tcl_CreateObjCommand(interp, "testgetencpath", TestgetencpathObjCmd,
- NULL, NULL);
- Tcl_CreateObjCommand(interp, "testsetencpath", TestsetencpathObjCmd,
- NULL, NULL);
Tcl_CreateObjCommand(interp, "testapplylambda", TestApplyLambdaObjCmd,
NULL, NULL);
@@ -8418,72 +8412,6 @@ TestconcatobjCmd(
/*
*----------------------------------------------------------------------
*
- * TestgetencpathObjCmd --
- *
- * This function implements the "testgetencpath" command. It is used to
- * test Tcl_GetEncodingSearchPath().
- *
- * Results:
- * A standard Tcl result.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
-static int
-TestgetencpathObjCmd(
- TCL_UNUSED(void *),
- Tcl_Interp *interp, /* Current interpreter. */
- int objc, /* Number of arguments. */
- Tcl_Obj *const *objv) /* Argument strings. */
-{
- if (objc != 1) {
- Tcl_WrongNumArgs(interp, 1, objv, "");
- return TCL_ERROR;
- }
-
- Tcl_SetObjResult(interp, Tcl_GetEncodingSearchPath());
- return TCL_OK;
-}
-
-/*
- *----------------------------------------------------------------------
- *
- * TestsetencpathCmd --
- *
- * This function implements the "testsetencpath" command. It is used to
- * test Tcl_SetDefaultEncodingDir().
- *
- * Results:
- * A standard Tcl result.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
-static int
-TestsetencpathObjCmd(
- TCL_UNUSED(void *),
- Tcl_Interp *interp, /* Current interpreter. */
- int objc, /* Number of arguments. */
- Tcl_Obj *const *objv) /* Argument strings. */
-{
- if (objc != 2) {
- Tcl_WrongNumArgs(interp, 1, objv, "defaultDir");
- return TCL_ERROR;
- }
-
- Tcl_SetEncodingSearchPath(objv[1]);
- return TCL_OK;
-}
-
-/*
- *----------------------------------------------------------------------
- *
* TestparseargsCmd --
*
* This procedure implements the "testparseargs" command. It is used to