From 5904e390f9817d7d5320785e9e1a1903ad1094a7 Mon Sep 17 00:00:00 2001 From: Chen Peng Date: Fri, 19 Apr 2024 21:35:51 +0800 Subject: [PATCH] clean test dir --- packages/you_note_dart/test/README.md | 5 -- ...rt => note_trace_base_cell_find_test.dart} | 0 packages/you_note_dart/test/todo.dart | 49 ------------------- 3 files changed, 54 deletions(-) delete mode 100644 packages/you_note_dart/test/README.md rename packages/you_note_dart/test/{note_cell_test.dart => note_trace_base_cell_find_test.dart} (100%) delete mode 100644 packages/you_note_dart/test/todo.dart diff --git a/packages/you_note_dart/test/README.md b/packages/you_note_dart/test/README.md deleted file mode 100644 index 9ef031ad..00000000 --- a/packages/you_note_dart/test/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# test - -this project only for unit test. - -ref: package:note_test: Flutter-Note Integration Testing & e2e test. diff --git a/packages/you_note_dart/test/note_cell_test.dart b/packages/you_note_dart/test/note_trace_base_cell_find_test.dart similarity index 100% rename from packages/you_note_dart/test/note_cell_test.dart rename to packages/you_note_dart/test/note_trace_base_cell_find_test.dart diff --git a/packages/you_note_dart/test/todo.dart b/packages/you_note_dart/test/todo.dart deleted file mode 100644 index 9b7485f1..00000000 --- a/packages/you_note_dart/test/todo.dart +++ /dev/null @@ -1,49 +0,0 @@ -// ignore_for_file: use_key_in_widget_constructors, file_names, prefer_const_constructors, camel_case_types - -/// param 框架里, 构造器有缺省值的参数,目前搞不定, -/// 1.是dart:mirror库没法解决这个问题,而ast语法分析还不熟悉,需要花时间研究,暂时搁置。 -/// 20230228 新进展 analyzer的element机制提供类似功能 -/// 这种情况,都直接给super,回避掉这个问题:Container(super.clipBehavior) -library; - -// !!!!!!!! -// export 'arena.dart' show GestureArenaEntry, GestureArenaMember; -// mate机制有点导出问题 - -class TODO_muitl_runtime { - //多运行时机制,page可以是sh,js,py等,page需指定其运行时以便可以连接多种环境运行 -} - -class TODO_js_static_site { - //静态lite web版 - //https://www.patterns.dev/posts/islands-architecture/ - //https://markojs.com - // https://www.11ty.dev - // Astro Snowpack的作者 -} - -class TODO_feature_optimization { - // seo 低优先级 - // web加载进度条:html里放一个加载中的element, 在flutter就绪时再删除? - // if(kIsWeb) html.document.getElementById("loading")?.remove(); -} - -class TODO2_note { - //是否搞个组件继承树作为导航,方便查阅,类似 https://juejin.cn/post/6997370774466068517 - // var mediaQuery = MediaQuery.removePadding( - // context: context, - // //移除抽屉菜单顶部默认留白 - // removeTop: true, - // child: listView, - // ); - //PreferredSizeWidget - // SafeArea - // https://api.flutter.dev/flutter/widgets/GlobalKey-class.html - // GlobalKey昂贵的解释 -} - -// 质量监控及分析 -class X { - // Google Analytics - // 内存泄露分析:[VmService] 、[Expando] -}